import createAPI from '@/plugins/axios'
const asyncGather = {
  list: config => createAPI('task/list', 'get', config),
  queryType: config => createAPI('pagemodel/querytype', 'post', config),
  listsitename: config => createAPI('site/listsitename', 'post', config),
  matchingModel: config => createAPI('task/matchingModel', 'get', config),
  taskQuery: config => createAPI('task/query', 'get', config),
  checkout: config => createAPI('task/checkout', 'post', config),
  checkin: config => createAPI('task/checkin', 'post', config),
  taskadd: config => createAPI('task/add', 'post', config),
  updateTaskStatus: config => createAPI('task/updateTaskStatus', 'post', config),
  delete: config => createAPI('task/delete', 'post', config),
  sitenum: config => createAPI('site/sitenum', 'post', config)
}
export default asyncGather
